extends Node2D

var ons_gbk="ONScripterGBK 2020.exe"
func _on_Start_pressed():
	var exe_path=OS.get_executable_path().get_base_dir()
	print(exe_path)
	var launch_path=exe_path+"/Engine/ONScripterGBK 2020.exe"
	var launch_param=" -r C:/Users/11111/Downloads/Game/AgreementAutumn"
	var output=[]
	var exit_code=OS.execute("cmd",["/C cd"+ons_gbk+" -h"],true,output)
	print(exit_code)
	print(output)
	pass
